<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet"%>
<%@ taglib uri="http://liferay.com/tld/security" prefix="liferay-security"%>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme"%>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui"%>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>


<portlet:defineObjects />
<liferay-theme:defineObjects/>

<liferay-ui:header title="Client Edit"/>

<liferay-ui:error key="unknow-error" message="unknow-error" />
<liferay-ui:error key="client-null-name" message="client-null-name" />

<portlet:actionURL var="saveURL" name="save" />
<aui:form action="${saveURL}" name="saveForm">

	<aui:fieldset>
		<input name="<portlet:namespace/>clientId" type="hidden" value="${clientId}" />
		<aui:input name="firstName" value="${client.firstName}" label="First Name" />
		<aui:input name="lastName" value="${client.lastName}" label="Last Name" />
		<aui:input name="email" value="${client.email}" label="E-mail" />
		<aui:input name="address" value="${client.address}" label="Address" />
		<aui:input name="phone" value="${client.phone}" label="Phone"/>
		<aui:input name="movil" value="${client.movil}" label="Movil"/>

		<aui:button type="submit" />
	</aui:fieldset>

</aui:form>
